#include "ObjectInteger.hpp"
#include "Object.hpp"

namespace Pdf
{
    Integer::Integer()
        : value(0)
    {
    }

    Integer::Integer(Object const & object)
        : value(object.getInteger())
    {
    }

    Integer::operator int() const
    {
        return value;
    }
}